package pigshare.various;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import org.primefaces.event.CloseEvent;
@RequestScoped
@ManagedBean(name = "dialogBean")
public class DialogBean {  
	  
    public void handleClose(CloseEvent event) {  
//        FacesContext facesContext = FacesContext.getCurrentInstance();  
//        FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO,   
//            event.getComponent().getId() + " closed", "You cloased the preview");  
//          
//        facesContext.addMessage(null, message);  
    }  
}  